package com.yuanfengerp.supplierexpense.service;

import com.yuanfengerp.publicUtil.Result;
import com.yuanfengerp.supplierexpense.model.SupplierExpenseInfo;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

public interface ISupplierExpenseService {
    Result<String> deleteSupplierExpenseInfo(String supplier_expense_ID);

    // 连表新增服务方法
    Result<String> insertSupplierExpenseInfo(@Param("supplierExpenseInfo") SupplierExpenseInfo supplierExpenseInfo);

    Result<String> updateSupplierExpenseInfo(SupplierExpenseInfo supplierExpenseInfo);

    Result<List<SupplierExpenseInfo>> selectAllSupplierExpenseInfo();

    Result<List<SupplierExpenseInfo>> selectSupplierExpenseInfo(Map<String, Object> params);

    Result<List<SupplierExpenseInfo>> selectSupplierExpenseInfoItems(String supplier_expense_ID);

}
